﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;

namespace SearchScreen.SDK
{
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
    public class SearchCriteriaAttribute : System.Attribute
    {

        /// <summary>
        /// Gets the id.
        /// </summary>
        /// <value>
        /// The id.
        /// </value>
        public string Id { get; private set; }

        /// <summary>
        /// Gets the label.
        /// </summary>
        /// <value>
        /// The label.
        /// </value>
        public string Label { get; private set; }

        public string ConsideredType { get; private set; }

        public SearchCriteriaAttribute() { }

        /// <summary>
        /// Initializes a new instance of the <see cref="SearchCriteriaAttribute"/> class.
        /// </summary>
        /// <param name="Id">The id.</param>
        /// <param name="label">The label.</param>
        /// <param name="consideredType">The Type.</param>
        public SearchCriteriaAttribute(string id, string label, string consideredType)
        {
            this.Id = id;
            this.Label = label;
            this.ConsideredType = consideredType;
        }

    }
}
